package com.example.publice.quartz;

import com.example.admin.entity.SysJob;
import com.example.util.InvokeUtil;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理（允许并发执行）
 *
 * @author wangkai
 */
public class QuartzJobExecution extends AbstractQuartzJob {
    @Override
    protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
        InvokeUtil.invokeMethod(sysJob.getInvokeTarget());
    }
}
